﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LardonPokerSimulator.Model.Deck
{
    public class Card : IComparable<Card>
    {
        internal short number = 0;
        internal Suit suit;
        internal bool isUsed = false;

        public Card(short number, Suit suit)
        {
            this.number = number;
            this.suit = suit;
        }

        public short Number
        {
            get
            {
                return this.number;
            }
        }

        public String Suit
        {
            get
            {
                return this.suit.ToString();
            }
        }

        public bool IsUsed
        {
            get
            {
                return this.isUsed;
            }
            set
            {
                this.isUsed = value;
            }
        }

        public override string ToString()
        {
            return String.Format("{0} | {1}", this.suit.ToString(), this.number);
        }

        public int CompareTo(Card otherObj)
        {
            return 0;
        }
    }
}
